include(CMakeFindDependencyMacro)
set(DEPENDENCY_NAME "@DEPENDENCY_NAME@")
if(ANDROID AND ANDROID_ARM_NEON)
    set(PREFIX "${DEPENDENCY_NAME}-${ANDROID_PLATFORM}-${ANDROID_SYSROOT_ABI}-NEON")
elseif(ANDROID AND NOT ANDROID_ARM_NEON)
    set(PREFIX "${DEPENDENCY_NAME}-${ANDROID_PLATFORM}-${ANDROID_SYSROOT_ABI}")
else()
    set(PREFIX "${DEPENDENCY_NAME}")
endif()
if(EXISTS "${CMAKE_CURRENT_LIST_DIR}/${PREFIX}/${PREFIX}Config.cmake")
    include("${CMAKE_CURRENT_LIST_DIR}/${PREFIX}/${PREFIX}Config.cmake")
else()
    set(${DEPENDENCY_NAME}_FOUND FALSE)
endif()
